package com.ruoyi.project.system.lotto.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserLogsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserLogsExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("openid is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("openid is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("openid =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("openid <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("openid >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("openid >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("openid <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("openid <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("openid like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("openid not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("openid in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("openid not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("openid between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("openid not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyIsNull() {
            addCriterion("lotto_qualify is null");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyIsNotNull() {
            addCriterion("lotto_qualify is not null");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyEqualTo(Integer value) {
            addCriterion("lotto_qualify =", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyNotEqualTo(Integer value) {
            addCriterion("lotto_qualify <>", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyGreaterThan(Integer value) {
            addCriterion("lotto_qualify >", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyGreaterThanOrEqualTo(Integer value) {
            addCriterion("lotto_qualify >=", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyLessThan(Integer value) {
            addCriterion("lotto_qualify <", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyLessThanOrEqualTo(Integer value) {
            addCriterion("lotto_qualify <=", value, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyIn(List<Integer> values) {
            addCriterion("lotto_qualify in", values, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyNotIn(List<Integer> values) {
            addCriterion("lotto_qualify not in", values, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyBetween(Integer value1, Integer value2) {
            addCriterion("lotto_qualify between", value1, value2, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoQualifyNotBetween(Integer value1, Integer value2) {
            addCriterion("lotto_qualify not between", value1, value2, "lottoQualify");
            return (Criteria) this;
        }

        public Criteria andLottoCountIsNull() {
            addCriterion("lotto_count is null");
            return (Criteria) this;
        }

        public Criteria andLottoCountIsNotNull() {
            addCriterion("lotto_count is not null");
            return (Criteria) this;
        }

        public Criteria andLottoCountEqualTo(Integer value) {
            addCriterion("lotto_count =", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountNotEqualTo(Integer value) {
            addCriterion("lotto_count <>", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountGreaterThan(Integer value) {
            addCriterion("lotto_count >", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("lotto_count >=", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountLessThan(Integer value) {
            addCriterion("lotto_count <", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountLessThanOrEqualTo(Integer value) {
            addCriterion("lotto_count <=", value, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountIn(List<Integer> values) {
            addCriterion("lotto_count in", values, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountNotIn(List<Integer> values) {
            addCriterion("lotto_count not in", values, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountBetween(Integer value1, Integer value2) {
            addCriterion("lotto_count between", value1, value2, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoCountNotBetween(Integer value1, Integer value2) {
            addCriterion("lotto_count not between", value1, value2, "lottoCount");
            return (Criteria) this;
        }

        public Criteria andLottoStatusIsNull() {
            addCriterion("lotto_status is null");
            return (Criteria) this;
        }

        public Criteria andLottoStatusIsNotNull() {
            addCriterion("lotto_status is not null");
            return (Criteria) this;
        }

        public Criteria andLottoStatusEqualTo(Integer value) {
            addCriterion("lotto_status =", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusNotEqualTo(Integer value) {
            addCriterion("lotto_status <>", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusGreaterThan(Integer value) {
            addCriterion("lotto_status >", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("lotto_status >=", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusLessThan(Integer value) {
            addCriterion("lotto_status <", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusLessThanOrEqualTo(Integer value) {
            addCriterion("lotto_status <=", value, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusIn(List<Integer> values) {
            addCriterion("lotto_status in", values, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusNotIn(List<Integer> values) {
            addCriterion("lotto_status not in", values, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusBetween(Integer value1, Integer value2) {
            addCriterion("lotto_status between", value1, value2, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andLottoStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("lotto_status not between", value1, value2, "lottoStatus");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneIsNull() {
            addCriterion("recevie_phone is null");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneIsNotNull() {
            addCriterion("recevie_phone is not null");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneEqualTo(String value) {
            addCriterion("recevie_phone =", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneNotEqualTo(String value) {
            addCriterion("recevie_phone <>", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneGreaterThan(String value) {
            addCriterion("recevie_phone >", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("recevie_phone >=", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneLessThan(String value) {
            addCriterion("recevie_phone <", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneLessThanOrEqualTo(String value) {
            addCriterion("recevie_phone <=", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneLike(String value) {
            addCriterion("recevie_phone like", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneNotLike(String value) {
            addCriterion("recevie_phone not like", value, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneIn(List<String> values) {
            addCriterion("recevie_phone in", values, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneNotIn(List<String> values) {
            addCriterion("recevie_phone not in", values, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneBetween(String value1, String value2) {
            addCriterion("recevie_phone between", value1, value2, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andReceviePhoneNotBetween(String value1, String value2) {
            addCriterion("recevie_phone not between", value1, value2, "receviePhone");
            return (Criteria) this;
        }

        public Criteria andRecevieNameIsNull() {
            addCriterion("recevie_name is null");
            return (Criteria) this;
        }

        public Criteria andRecevieNameIsNotNull() {
            addCriterion("recevie_name is not null");
            return (Criteria) this;
        }

        public Criteria andRecevieNameEqualTo(String value) {
            addCriterion("recevie_name =", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameNotEqualTo(String value) {
            addCriterion("recevie_name <>", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameGreaterThan(String value) {
            addCriterion("recevie_name >", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameGreaterThanOrEqualTo(String value) {
            addCriterion("recevie_name >=", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameLessThan(String value) {
            addCriterion("recevie_name <", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameLessThanOrEqualTo(String value) {
            addCriterion("recevie_name <=", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameLike(String value) {
            addCriterion("recevie_name like", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameNotLike(String value) {
            addCriterion("recevie_name not like", value, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameIn(List<String> values) {
            addCriterion("recevie_name in", values, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameNotIn(List<String> values) {
            addCriterion("recevie_name not in", values, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameBetween(String value1, String value2) {
            addCriterion("recevie_name between", value1, value2, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRecevieNameNotBetween(String value1, String value2) {
            addCriterion("recevie_name not between", value1, value2, "recevieName");
            return (Criteria) this;
        }

        public Criteria andRewardRecordIsNull() {
            addCriterion("reward_record is null");
            return (Criteria) this;
        }

        public Criteria andRewardRecordIsNotNull() {
            addCriterion("reward_record is not null");
            return (Criteria) this;
        }

        public Criteria andRewardRecordEqualTo(String value) {
            addCriterion("reward_record =", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordNotEqualTo(String value) {
            addCriterion("reward_record <>", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordGreaterThan(String value) {
            addCriterion("reward_record >", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordGreaterThanOrEqualTo(String value) {
            addCriterion("reward_record >=", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordLessThan(String value) {
            addCriterion("reward_record <", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordLessThanOrEqualTo(String value) {
            addCriterion("reward_record <=", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordLike(String value) {
            addCriterion("reward_record like", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordNotLike(String value) {
            addCriterion("reward_record not like", value, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordIn(List<String> values) {
            addCriterion("reward_record in", values, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordNotIn(List<String> values) {
            addCriterion("reward_record not in", values, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordBetween(String value1, String value2) {
            addCriterion("reward_record between", value1, value2, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andRewardRecordNotBetween(String value1, String value2) {
            addCriterion("reward_record not between", value1, value2, "rewardRecord");
            return (Criteria) this;
        }

        public Criteria andIsRemovedIsNull() {
            addCriterion("is_removed is null");
            return (Criteria) this;
        }

        public Criteria andIsRemovedIsNotNull() {
            addCriterion("is_removed is not null");
            return (Criteria) this;
        }

        public Criteria andIsRemovedEqualTo(Integer value) {
            addCriterion("is_removed =", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedNotEqualTo(Integer value) {
            addCriterion("is_removed <>", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedGreaterThan(Integer value) {
            addCriterion("is_removed >", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_removed >=", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedLessThan(Integer value) {
            addCriterion("is_removed <", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedLessThanOrEqualTo(Integer value) {
            addCriterion("is_removed <=", value, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedIn(List<Integer> values) {
            addCriterion("is_removed in", values, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedNotIn(List<Integer> values) {
            addCriterion("is_removed not in", values, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedBetween(Integer value1, Integer value2) {
            addCriterion("is_removed between", value1, value2, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andIsRemovedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_removed not between", value1, value2, "isRemoved");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}